package com.aspose.cells;

class zayf extends zaoj {
   private double a;
   private double b;
   private double c;
   private double d;
   private double e;

   public double a(double var1) {
      double var3 = Math.pow(1.0D + var1, this.a - 1.0D);
      double var5 = this.c / (var1 * var1);
      double var7 = this.a * this.b + this.a * this.c * (this.e + 1.0D / var1) - this.c / var1 - var5;
      return var7 * var3 + var5;
   }

   public double b(double var1) {
      double var3 = Math.pow(1.0D + var1, this.a);
      return this.b * var3 + this.c * (1.0D + var1 * this.e) * (var3 - 1.0D) / var1 + this.d;
   }

   Object a(double var1, double var3, double var5, double var7, double var9, double var11) {
      this.a = var1;
      this.c = var3;
      this.b = var5;
      this.d = var7;
      this.e = var9;
      byte var13 = 0;
      int[] var14 = new int[]{var13};
      Double var15 = this.a(var11, 1.0E-7D, 20, var14);
      int var16 = var14[0];
      return var16 == 0 ? var15 : "#NUM!";
   }
}
